'''
详细文档请参考：https://gitee.com/Johnson_Fan/HuanJuanPython/wikis/Home

GPIO：12、27、25

'''

from machine import Pin
import time

led1 = Pin(12, Pin.OUT)
led2 = Pin(27, Pin.OUT)
led3 = Pin(25, Pin.OUT)

#程序入口
if __name__=="__main__":
    led1.value(0)
    led2.value(0)
    led3.value(0)
    
    while True:
        led1.value(1)
        time.sleep(0.1)

        led1.value(0)
        time.sleep(0.1)

        led2.value(1)
        time.sleep(0.1)

        led2.value(0)
        time.sleep(0.1)

        led3.value(1)
        time.sleep(0.1)

        led3.value(0)
        time.sleep(0.1)
